package com.zdb.config;

import com.alibaba.dashscope.aigc.generation.Generation;
import com.alibaba.dashscope.aigc.imagesynthesis.ImageSynthesis;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

@Component
public class Aiconfig {


    @Bean
    public Generation generation() {
        return new Generation();
    }
    @Bean
    public ImageSynthesis imageSynthesis() {
        return new ImageSynthesis();
    }
}
